﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto
{
    public class EquipmentSummaryDto
    {
        public string Category { get; set; }
        public string EquipmentName { get; set; }
        public int TotalQuantity { get; set; }
        public string EquipmentPercentage { get; set; }
    }
    public class EquipmentChangeDto
    {
       
        public string EquipmentName { get; set; }
        public string EquipmentType { get; set; }
        public DateTime ChangeDate { get; set; }  // 添加 ChangeDate
        public int TotalChange { get; set; }  // 汇总增减量
    }
    public class UnitEquipmentsDto
    {
        public string UnitName { get; set; }
        public int TotalQuantity { get; set; }
       public string EquipmentPercentage { get; set; }
    }
    public class EquipmentStatisticsDto
    {
        public string Category { get; set; }
        public int TotalQuantity { get; set; }
    }
    public class VehicleCategoryStatsDto
    {
        public string Category { get; set; }
        public int TotalQuantity { get; set; }
        public double Percentage { get; set; }
    }

    public class VehicleStatusDto
    {
        public string Status { get; set; }
        public int Quantity { get; set; }
    }

    public class VehicleOrganizationStatsDto
    {
        public string Organization { get; set; }
        public string VehicleCategory { get; set; }
        public int TotalQuantity { get; set; }
        public double Percentage { get; set; }
    }

    public class VehiclePurchaseStatsDto
    {
        public string Name { get; set; }
        public DateTime PurchaseDate { get; set; }
        public int Quantity { get; set; }
        public decimal TotalCost { get; set; }
    }
    public class OrganizationDto
    {
        public int RegionId { get; set; }
        public string Name { get; set; }
        public double Latitude { get; set; }
        public double Longitude { get; set; }
        public string Address { get; set; }
        
    }

    public class RegionStatisticsDto
    {
        public string RegionName { get; set; }
        public int TotalCount { get; set; }
        public DateTime Datee { get; set; }

       
    }
    public class OrganizationAndStatisticsDto
    {
        public List<OrganizationDto> Organizations { get; set; }
        public List<RegionStatisticsDto> Statistics { get; set; } 
    }
    public class EquipmentAnalysisDto
    {
        public string EquipmentName { get; set; }
        public string EquipmentCategory { get; set; }
        public int TotalQuantity { get; set; }
        public string Percentage { get; set; }  // 格式化后的占比
        public string StatisticsDate { get; set; }  // 统计日期
    }
}
